package com.java.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 维修记录(MaintainRecords)实体类
 *
 * @author 安能
 * @since 2020-07-01 11:27:28
 */
public class MaintainRecords implements Serializable {
    private static final long serialVersionUID = 351257536485550296L;

    /**
     * 主键
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 维修人员
     */
    private String accendant;
    /**
     * 报修记录id
     */
    private Integer repairsRecordsId;
    /**
     * 人工费
     */
    private BigDecimal laborCost;
    /**
     * 材料费
     */
    private BigDecimal materials;
    /**
     * 维修状态:{1:未分配
     * 2:已分配
     * 3:已维修
     * 4:撤销}
     */
    private Integer status;
    /**
     * 配件流水id
     */
    private Integer sparePartsFlowId;
    /**
     * 结算费用id
     */
    private Integer closingCostId;

    /**
     * 备件id
     */
    private Integer sparePartsId;

    /**
     * 备件数量
     */
    private Integer count;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccendant() {
        return accendant;
    }

    public void setAccendant(String accendant) {
        this.accendant = accendant;
    }

    public Integer getRepairsRecordsId() {
        return repairsRecordsId;
    }

    public void setRepairsRecordsId(Integer repairsRecordsId) {
        this.repairsRecordsId = repairsRecordsId;
    }

    public BigDecimal getLaborCost() {
        return laborCost;
    }

    public void setLaborCost(BigDecimal laborCost) {
        this.laborCost = laborCost;
    }

    public BigDecimal getMaterials() {
        return materials;
    }

    public void setMaterials(BigDecimal materials) {
        this.materials = materials;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSparePartsFlowId() {
        return sparePartsFlowId;
    }

    public void setSparePartsFlowId(Integer sparePartsFlowId) {
        this.sparePartsFlowId = sparePartsFlowId;
    }

    public Integer getClosingCostId() {
        return closingCostId;
    }

    public void setClosingCostId(Integer closingCostId) {
        this.closingCostId = closingCostId;
    }

    public Integer getSparePartsId() {
        return sparePartsId;
    }

    public void setSparePartsId(Integer sparePartsId) {
        this.sparePartsId = sparePartsId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}